package com.org.entity;

import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.springframework.stereotype.Component;

/**
 * @author Rainy-Heights
 * @version 1.0
 * @Date 2023/3/7 9:16
 */
@Component
@Setter
@Getter
@NoArgsConstructor
@Data

//Spring-Security出现的bug太多，自行创建的登录业务逻辑实体,不过这样就没有做到MD5加密了
public class LoginRequest {
    private String username;
    private String password;

    public LoginRequest(String username, String password) {
        super();
        this.username = username;
        this.password = password;
    }
}
